import fs from 'fs';
import path from 'path';
import child_process from 'child_process';

(async () => {
  const buildPath = path.resolve('./build');
  if (fs.existsSync(buildPath)) {
    await fs.promises.rm(buildPath, { recursive: true });
  }
})();
